﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace SaunaServer.Model.Database
{
    [Serializable]
    public class DBBaseSetting
    {
        private string databaseName;
        private string hostAddress;
        private string userName;
        private string password;
        private string logFileDirectory;

        public DBBaseSetting() { }

        /// <summary>
        /// Constructor
        /// </summary>
        public DBBaseSetting(string databaseName, string hostAddress, string userName, string password, string logFileDirectory)
        {
            this.databaseName = databaseName;
            this.hostAddress = hostAddress;
            this.userName = userName;
            this.password = password;
            this.logFileDirectory = logFileDirectory;
        }

        public string DatabaseName
        {
            get { return databaseName; }
            set { databaseName = value; }
        }

        public string HostAddress
        {
            get { return hostAddress; }
            set { hostAddress = value; }
        }

        public string UserName
        {
            get { return userName; }
            set { userName = value; }
        }

        public string Password
        {
            get { return password; }
            set { password = value; }
        }

        public string LogFileDirectory
        {
            get { return logFileDirectory; }
            set { logFileDirectory = value; }
        }

    }

}
